import request from "./http";
//此为搜索
export function getSigin(val, opt) {
    return request({
        url: "/search",
        method: "get",
        params: {
            limit:10,
                keywords: val,
                type: opt,
        }
    })
}

//此为热门搜索
export function getPopularSearch() {
    return request({
        url: "/search/hot",
        method: "get",
    })
}